<?php /* Smarty version 2.6.16, created on 2009-04-15 05:00:17
         compiled from MyGroupsLinks.html */ ?>
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
smarty_core_load_plugins(array('plugins' => array(array('function', 'language', 'MyGroupsLinks.html', 9, false),array('function', 'url', 'MyGroupsLinks.html', 15, false),array('modifier', 'clean', 'MyGroupsLinks.html', 15, false),array('modifier', 'escape', 'MyGroupsLinks.html', 15, false),)), $this); ?>
<?php if (count ( $this->_tpl_vars['aGroups'] ) > 0): ?>
<table style="width: 100%;" cellpadding="4" cellspacing="0">
	<tr>
		<td class="border2">

			<table style="width: 100%;" class="mainmenu5" cellpadding="0" cellspacing="0" border="0">
				<tr>
					<td width="7"><img src="design/pic/spacer.gif" class="sqr1" alt="" height="7" width="7" /></td>
					<td class="block_header"><?php echo smarty_function_language(array('text' => 'my_groups_997'), $this);?>
</td>
				</tr>
			</table>
			<br />

			<?php $_from = $this->_tpl_vars['aGroups']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }$this->_foreach['grplinks'] = array('total' => count($_from), 'iteration' => 0);
if ($this->_foreach['grplinks']['total'] > 0):
    foreach ($_from as $this->_tpl_vars['aItem']):
        $this->_foreach['grplinks']['iteration']++;
?>
			<a class="link_description" href="<?php echo smarty_function_url(array('link' => 'public.groups.view','id' => $this->_tpl_vars['aItem']['id'],'foxseotitle' => $this->_tpl_vars['aItem']['title']), $this);?>
"><?php echo ((is_array($_tmp=((is_array($_tmp=$this->_tpl_vars['aItem']['title'])) ? $this->_run_mod_handler('clean', true, $_tmp) : smarty_modifier_clean($_tmp)))) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp)); ?>
</a><?php if (! ($this->_foreach['grplinks']['iteration'] == $this->_foreach['grplinks']['total'])): ?>, <?php endif; ?>

			<?php if (($this->_foreach['grplinks']['iteration'] == $this->_foreach['grplinks']['total'])): ?>
				<div style="padding:8px;text-align:right;"><br />
				<a class="link_action" href="<?php echo smarty_function_url(array('link' => 'public.groups.mygroups','name' => $this->_tpl_vars['sUser']), $this);?>
">[ <?php echo smarty_function_language(array('text' => 'view_all_my_groups'), $this);?>
 ]</a>
				</div>
			<?php endif; ?>

			<?php endforeach; else: ?>
			<div style="font-weight:bold;color:green;padding:5px;font-size:11px;text-align:center;">
			<?php echo smarty_function_language(array('text' => 'there_are_no_groups_yet'), $this);?>

			</div>
			<?php endif; unset($_from); ?>

		</td>
	</tr>
</table>
<br />
<?php endif; ?>